{$form_open}
		<table style="width: 100%;">
		<tr>
			<td style="width:90%">
			<table id="SCTV_MaintenanceAcceptance" style="width: 100%;">
				<tr>
					<td class="epesi_label" style="width:10%;">
						{$form_data.customer.label}
					</td>
					<td class="epesi_data" style="width:23%;">
						<div style="position: relative;">
							{$form_data.customer.error}
							{$form_data.customer.html}
						</div>						
					</td>
					<td class="epesi_label" "width:10%;">
						{$form_data.address.label}
					</td>
					<td class="epesi_data" style="width:47%;">
						<div style="position: relative;">
							{$form_data.address.error}
							{$form_data.address.html}
						</div>						
					</td>
					<td class="epesi_label" "width:10%;">
						{$form_data.note.label}
					</td>
					<td class="epesi_data" style="width:47%;">
						<div style="position: relative;">
							{$form_data.note.error}
							{$form_data.note.html}
						</div>						
					</td>
				</tr>
				<tr>
					<td class="epesi_label" style="width:10%;">
						{$form_data.receipt.label}
					</td>
					<td class="epesi_data" style="width:23%;">
						<div style="position: relative;">
							{$form_data.receipt.error}
							{$form_data.receipt.html}
						</div>						
					</td>
					<td class="epesi_label" style="width:10%;">
						{$form_data.fee.label}
					</td>
					<td class="epesi_data" style="width:23%;">
						<div style="position: relative;">
							{$form_data.fee.error}
							{$form_data.fee.html}
						</div>						
					</td>
					<td class="epesi_label" style="width:10%;">
						{$form_data.deposit.label}
					</td>
					<td class="epesi_data" style="width:24%;">
						<div style="position: relative;">
							{$form_data.deposit.error}
							{$form_data.deposit.html}
						</div>						
					</td>
				</tr>							
			</table>
			</td>
			<td style="width:10%">
				{$just_close.open}
				<div style="cursor: pointer;border: 1px solid #999;background-color:white">
					<img src="{$theme_dir}/Base/ActionBar/icons/save.png" alt="" align="middle" border="0" width="32" height="32">
					<span>{$just_close.text}</span>
				</div>
				{$just_close.close}
			</td>
		</tr>			
		</table>
			<table id="SCTV_MaintenanceAcceptanceMaterial" style="width:100%;">
			<tr>
			<td style="width:35%" valign="top">
				<table style="width:100%">
					<tr>
							<td class="epesi_label" style="width:40%">Vật tư miễn phí</td>	
							<td class="epesi_label" style="width:15%">Số lượng</td>
					</tr>
					{foreach from=$form_data item="free"}
					{if is_array($free) && isset($free.type) && $free.name != 'money_amount' && $free.type!='hidden' && $free.type!='button' && $free.type!='submit'}
							{foreach from=$free.free item="item1"}																			
							<tr>
							<td class="epesi_data">									
								{$item1.material.html}											
							</td>	
							<td class="epesi_data">									
								{$item1.amount.html}											
							</td>
							</tr>
							{/foreach}
					{/if}
					{/foreach}
				</table>
				<table style="width:100%">
					<tr>
							<td class="epesi_label" style="width:40%">Vật tư mạng phụ</td>	
							<td class="epesi_label" style="width:15%">Số lượng</td>
					</tr>
					{foreach from=$form_data item="subnet"}
					{if is_array($subnet) && isset($subnet.type) && $subnet.name != 'money_amount' && $subnet.type!='hidden' && $subnet.type!='button' && $subnet.type!='submit'}
							{foreach from=$subnet.subnet item="item1"}																			
							<tr>
							<td class="epesi_data">									
								{$item1.material.html}											
							</td>	
							<td class="epesi_data">									
								{$item1.amount.html}											
							</td>
							</tr>
							{/foreach}
					{/if}
					{/foreach}
				</table>
			</td>
			<td style="width:65%" valign="top">
				<table style="width:100%">
					<tr>
							<td class="epesi_label" style="width:40%">Vật tư thu phí</td>	
							<td class="epesi_label" style="width:20%">Số lượng</td>
							<td class="epesi_label" style="width:20%">Đơn giá</td>
							<td class="epesi_label" style="width:20%">Thành tiền</td>
					</tr>
					{foreach from=$form_data item="charge"}
					{if is_array($charge) && isset($charge.type) && $charge.name != 'money_amount' && $charge.type!='hidden' && $charge.type!='button' && $charge.type!='submit'}
							{foreach from=$charge.charge item="item1"}																			
							<tr>
							<td class="epesi_data">									
								{$item1.material.html}											
							</td>	
							<td class="epesi_data">									
								{$item1.amount.html}											
							</td>
							<td class="epesi_data">									
								{$item1.price.html}											
							</td>
							<td class="epesi_data">									
								{$item1.total.html}											
							</td>
							</tr>
							{/foreach}
					{/if}
					{/foreach}
					<tr>
							<td class="epesi_label">Tiền đầu số</td>	
							<td class="epesi_data">{$form_data.summary_tvbox.html}</td>
							<td class="epesi_label">Tiền vật tư</td>
							<td class="epesi_data">{$form_data.summary_material.html}</td>
					</tr>
					<tr>
							<td></td>	
							<td></td>
							<td class="epesi_label">Tổng cộng</td>
							<td class="epesi_data">{$form_data.summary.html}</td>
					</tr>
				</table>
			</td>
			</tr>		
			</table>																			
{$form_close}
